import config from '../../../utils/config';
import apiCreator from '../../../utils/apiCreator';

const api = apiCreator();

export default {
  // 查询系统公告列表
  queryTableList: (query) => api.get(`${config.interfaces.type11}systemNotification/findSystemNotification`, query),
  // 新增系统公告
  addNotice: (query) => api.post(`${config.interfaces.type11}systemNotification/saveSystemNotification`, query),
  // 删除系统公告
  deleteNotice: (query) => api.get(`${config.interfaces.type11}systemNotification/deleteSystemNotificationById`, query),
};
